import math


def distance(x1, y1, x2, y2):
    return math.sqrt((x1 - x2) ** 2 + (y1 - y2) ** 2)


class Circle2D:
    def __init__(self, x=0, y=0, radius=0):
        self.__x = x
        self.__y = y
        self.__radius = radius

    def get_x(self):
        return self.__x

    def get_y(self):
        return self.__y

    def get_radius(self):
        return self.__radius

    def set_x(self, x):
        self.__x = x

    def set_y(self, y):
        self.__y = y

    def set_radius(self, radius):
        self.__radius = radius

    def get_perimeter(self):
        return 2 * self.__radius * math.pi

    def get_area(self):
        return self.__radius ** 2 * math.pi

    def contains_point(self, x, y):
        d = distance(self.__x, self.__y, x, y)
        return d <= self.__radius

    def contains(self, c):
        d = distance(self.__x, self.__y, c.__x, c.__y)
        return d + c.__radius < self.__radius

    def overlaps(self, c):
        d = distance(self.__x, self.__y, c.__x, c.__y)
        return d + c.__radius > self.__radius and d < self.__radius + c.__radius

    def __lt__(self, another):
        return self.__cmp__(another) < 0

    def __le__(self, another):
        return self.__cmp__(another) <= 0

    def __eq__(self, another):
        return self.__cmp__(another) == 0

    def __ne__(self, another):
        return self.__cmp__(another) != 0

    def __gt__(self, another):
        return self.__cmp__(another) > 0

    def __ge__(self, another):
        return self.__cmp__(another) >= 0

    # Compare two numbers
    def __cmp__(self, another):
        if self.__radius > another.__radius:
            return 1
        elif self.__radius < another.__radius:
            return -1
        else:
            return 0


def main():
    x1, y1, radius1 = (float(x) for x in input().split())
    x2, y2, radius2 = (float(x) for x in input().split())
    c1 = Circle2D(x1, y1, radius1)
    c2 = Circle2D(x2, y2, radius2)
    print("%.2f %.2f" % (c1.get_area(), c1.get_perimeter()))
    print("%.2f %.2f" % (c2.get_area(), c2.get_perimeter()))
    print(c1.contains_point(c2.get_x(), c2.get_y()))
    print(c1.contains(c2))
    print(c1.overlaps(c2))
    print(c1 < c2)


main()